home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 457 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.5 KB

  1. Path: news.ahc.ameritech.com!datalytics!news
  2. From: Rob Stewart <stew@datalytics.com>
  3. Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
  4. Subject: Re: C or C++ for a 14-year old?
  5. Date: 4 Jan 1996 16:49:58 GMT
  6. Organization: Datalytics, Inc
  7. Message-ID: <4ch0fm$ldg@gold.datalytics.com>
  8. References: <4b30ld$lp2$1@mhafc.production.compuserve.com> <w31V7MD4ED1aLz3@dexam.another.gun.de> <4bq9vh$11a@queeg.apci.net> <4bqfob$l9a@ixnews3.ix.netcom.com>
  9. NNTP-Posting-Host: pc071.datalytics.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
  14.  
  15. joao_raf@ix.netcom.com(Joao Rafael Moraes Nicola ) wrote:
  16. >In <4bq9vh$11a@queeg.apci.net> Poconnor@apci.net   (James O'Connor)
  17. >writes: 
  18. >>
  19. >>In <w31V7MD4ED1aLz3@dexam.another.gun.de>, dexam@another.gun.de
  20. >(Thomas Fischbacher) writes:
  21. >>>On 18.12.1995 [06:10:53] [103152.3666@compuserve.com (Tom Hope)]
  22. >wrote the following lines about
  23. >>>"C or C++ for a 14-year old?"
  24. >>>                           
  25. >>>TH> me to spring for a computer of his own.  I told him that if 
  26. >>>TH> he can learn VB and C on my computer, I will buy him one of 
  27. >>>TH> his own.
  28. >
  29. >     I am a 17 years old high school student. When I was 8 years old, I
  30. >used to read my uncle's computer books. I didn't even had a computer.
  31. >One year later my father gave my new computer : Casio PB-1000. I was
  32. [snip]
  33. >make a game. Along the years I learned BASIC, Assembly (for the Casio
  34. >and for 6502,8086 family), C/C++ by myself. Trying to make games I
  35. >learned how to program 3d graphics, how to make fast assembly routines,
  36. [snip]
  37. >    I thank my father for giving me the opportunit to have a computer,
  38. >to go to his work to talk to some computer programmers and for other
  39. [snip]
  40.  
  41. My father bought a Commodore VIC-20 for my Mother.  She never 
  42. used it but I learned BASIC on it one Saturday (I was about 
  43. 16 yrs old) and began writing simple games for it (like 
  44. hangman, breakout, etc.).  Along the way, I taught myself 6502 
  45. machine language (except I had to break down and read a book 
  46. to learn about two's complement math to do backward branches).
  47.  
  48. I wrote fancy and complicated DOS batch files, Lotus 1-2-3 
  49. macros, MS Word for Windows macros, etc.  I bought myself 
  50. a Commodore 64 and wrote more BASIC.  I bought a Forth 
  51. cartridge and wrote a lot of Forth code.  Then, I taught 
  52. myself C and eventually C++.
  53.  
  54. I read magazines (like PC Magazine), carefully perusing code 
  55. examples to learn from the authors.  I read a number of books 
  56. on C, OOA/OOD, and C++.  From there, it was simple experience 
  57. (and continued reading and learning).
  58.  
  59. The point of all this is that BASIC is fine to learn the ideas 
  60. of programming.  I agree with an earlier poster who complained 
  61. about the bad habits that BASIC teaches you.  On the other 
  62. hand, BASIC can be written pretty well, so if you also learn 
  63. how to program well, BASIC can do the job pretty well.  
  64. Besides, BASIC is the Beginner's All-purpose Symbolic 
  65. Instruction Code.  It was designed to be easy to learn.
  66.  
  67. You must be forward looking, however, and encourage  your 
  68. son to experiment with different languages, especially those 
  69. that are currently the most popular.  By experimenting with 
  70. different languages, your son can grow to understand the 
  71. fundamentals of programming rather than just one way to 
  72. implement them.  This will make it easy to migrate from one 
  73. language to another, which is often required (consider all the 
  74. C programmers who are losing jobs to C++ programmers these 
  75. days--whether or not they like it!)  Focusing on the most 
  76. popular languages will make your son more marketable to 
  77. mainstream businesses should he choose a programming career.
  78.  
  79. Above all, encourage your son to develop good habits from the 
  80. start.  He should design his software before writing it 
  81. (something all novice programmers find irksome).  He should 
  82. develop a good coding style by observing the code of others 
  83. and reading books or FAQs on good style for the chosen 
  84. language.  There's more, but I'm sure you get the idea.
  85.  
  86. (In case you're wondering, I've been a software engineer for 
  87. many years now.  I'm presently one of the principal software 
  88. engineers at a high tech software development company.  We 
  89. focus on C++, but I still find myself writing macros for MS 
  90. Word in WordBasic, DOS batch files, UNIX shell scripts, etc.  
  91. As you can see, even today I employ many different 
  92. languages--including English--for my programming.)
  93.  
  94. -- 
  95. Robert Stewart        | My opinions are usually my own.
  96. Datalytics, Inc.
  97. (513)226-7700
  98. stew@datalytics.com
  99.  
  100.  
  101.